Partition (number theory)

Ferrers diagrams showing the partitions of positive integers 1 through 8. They are so arranged that images under the reflection about the main diagonal of the square are conjugate partitions.

In number theory, a partition of a positive integer n is a way of writing n as a sum of positive integers. Two sums that differ only in the order of their summands are considered to be the same partition; if order matters then the sum becomes a composition. A summand in a partition is also called a part. The number of partitions of n is given by the partition function p(n).

Contents

Examples

The partitions of 4 are listed below:

  1. 4
  2. 3 + 1
  3. 2 + 2
  4. 2 + 1 + 1
  5. 1 + 1 + 1 + 1

The partitions of 8 are listed below:

  1. 8
  2. 7 + 1
  3. 6 + 2
  4. 6 + 1 + 1
  5. 5 + 3
  6. 5 + 2 + 1
  7. 5 + 1 + 1 + 1
  8. 4 + 4
  9. 4 + 3 + 1
  10. 4 + 2 + 2
  11. 4 + 2 + 1 + 1
  12. 4 + 1 + 1 + 1 + 1
  13. 3 + 3 + 2
  14. 3 + 3 + 1 + 1
  15. 3 + 2 + 2 + 1
  16. 3 + 2 + 1 + 1 + 1
  17. 3 + 1 + 1 + 1 + 1 + 1
  18. 2 + 2 + 2 + 2
  19. 2 + 2 + 2 + 1 + 1
  20. 2 + 2 + 1 + 1 + 1 + 1
  21. 2 + 1 + 1 + 1 + 1 + 1 + 1
  22. 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1

Partition function

In number theory, the partition function p(n) represents the number of possible partitions of a natural number n, which is to say the number of distinct (and order independent) ways of representing n as a sum of natural numbers. For example, 4 can be partitioned in five distinct ways:

4,     3 + 1,     2 + 2,     2 + 1 + 1,     1 + 1 + 1 + 1.

So p(4) = 5. By convention p(0) = 1, p(n) = 0 for n negative. Partitions can be graphically visualized with Young diagrams. They occur in a number of branches of mathematics and physics, including the study of symmetric polynomials, the symmetric group and in group representation theory in general.

Intermediate function

One way of getting a handle on the partition function involves an intermediate function p(k, n), which represents the number of partitions of n using only natural numbers at least as large as k. For any given value of k, partitions counted by p(k, n) fit into exactly one of the following categories:

  1. smallest addend is k
  2. smallest addend is strictly greater than k.

The number of partitions meeting the first condition is p(kn − k). To see this, imagine a list of all the partitions of the number n − k into numbers of size at least k, then imagine appending "+ k" to each partition in the list. Now what is it a list of? As a side note, one can use this to define a sort of recursion relation for the partition function in term of the intermediate function, namely

1+\sum_{k=1}^{\lfloor \frac{n}{2} \rfloor} p(k,n-k) = p(n),

where \lfloor{n}\rfloor is the floor function.

The number of partitions meeting the second condition is p(k + 1, n) since a partition into parts of at least k that contains no parts of exactly k must have all parts at least k + 1.

Since the two conditions are mutually exclusive, the number of partitions meeting either condition is p(k + 1, n) + p(kn − k). The recursively defined function is thus:

This function tends to exhibit deceptive behavior.

p(1, 4) = 5
p(2, 8) = 7
p(3, 12) = 9
p(4, 16) = 11
p(5, 20) = 13
p(6, 24) = 16

Our original function p(n) is just p(1, n).

The values of this function:

k
1 2 3 4 5 6 7 8 9 10
n 1 1 0 0 0 0 0 0 0 0 0
2 2 1 0 0 0 0 0 0 0 0
3 3 1 1 0 0 0 0 0 0 0
4 5 2 1 1 0 0 0 0 0 0
5 7 2 1 1 1 0 0 0 0 0
6 11 4 2 1 1 1 0 0 0 0
7 15 4 2 1 1 1 1 0 0 0
8 22 7 3 2 1 1 1 1 0 0
9 30 8 4 2 1 1 1 1 1 0
10 42 12 5 3 2 1 1 1 1 1

Generating function

A generating function for p(n) is given by the reciprocal of Euler's function:

\sum_{n=0}^\infty p(n)x^n = \prod_{k=1}^\infty \left(\frac {1}{1-x^k} \right).

Expanding each term on the right-hand side as a geometric series, we can rewrite it as

(1 + x + x2 + x3 + ...)(1 + x2 + x4 + x6 + ...)(1 + x3 + x6 + x9 + ...) ....

The xn term in this product counts the number of ways to write

n = a1 + 2a2 + 3a3 + ... = (1 + 1 + ... + 1) + (2 + 2 + ... + 2) + (3 + 3 + ... + 3) + ...,

where each number i appears ai times. This is precisely the definition of a partition of n, so our product is the desired generating function. More generally, the generating function for the partitions of n into numbers from a set A can be found by taking only those terms in the product where k is an element of A. This result is due to Euler.

The formulation of Euler's generating function is a special case of a q-Pochhammer symbol and is similar to the product formulation of many modular forms, and specifically the Dedekind eta function. It can also be used in conjunction with the pentagonal number theorem to derive a recurrence for the partition function stating that:

p(k) = p(k − 1) + p(k − 2) − p(k − 5) − p(k − 7) + p(k − 12) + p(k − 15) − p(k − 22) − ...

where the sum is taken over all generalized pentagonal numbers of the form ½n(3n − 1), for n running over positive and negative integers: successively taking n = 1, −1, 2, −2, 3, −3, 4, −4, ..., generates the values 1, 2, 5, 7, 12, 15, 22, 26, 35, 40, 51, .... The signs in the summation continue to alternate +, +, −, −, +, +, ...

Table of values

Some values of the partition function are as follows (sequence A000041 in OEIS):

As of February 2010, the largest known prime number of this kind is p(29099391), with 6002 decimal digits.[1]

Asymptotic behaviour

An asymptotic expression for p(n) is given by

p(n) \sim \frac {\exp \left( \pi \sqrt {2n/3}\right) } {4n\sqrt{3}} \mbox { as } n\rightarrow \infty.

This asymptotic formula was first obtained by G. H. Hardy and Ramanujan in 1918 and independently by J. V. Uspensky in 1920. Considering p(1000), the asymptotic formula gives about 2.4402 × 1031, reasonably close to the exact answer given above.

In 1937, Hans Rademacher was able to improve on Hardy and Ramanujan's results by providing a convergent series expression for p(n). It is

p(n)=\frac{1}{\pi \sqrt{2}} \sum_{k=1}^\infty A_k(n)\;
\sqrt{k} \; \frac{d}{dn}
\left( \frac {\sinh \left( \frac{\pi}{k}
\sqrt{\frac{2}{3}\left(n-\frac{1}{24}\right)}\right) }
{\sqrt{n-\frac{1}{24}}}\right)

where

A_k(n) = \sum_{0\le m < k \;�; \; (m,k)=1}e^ {\left\{ 
\pi i \left[ s(m,k) - 2 nm/k \right] \right\}}.

Here, the notation (mn) = 1 implies that the sum should occur only over the values of m that are relatively prime to n. The function s(mk) is a Dedekind sum. The proof of Rademacher's formula is interesting in that it involves Ford circles, Farey sequences, modular symmetry and the Dedekind eta function in a central way.

Congruences

Srinivasa Ramanujan is credited with discovering that "congruences" in the number of partitions exist for integers ending in 4 and 9.

p(5k+4)\equiv 0 \pmod 5

For instance, the number of partitions for the integer 4 is 5. For the integer 9, the number of partitions is 30; for 14 there are 135 partitions. He also discovered congruences related to 7 and 11:

p(7k+5)\equiv 0 \pmod 7
p(11k+6)\equiv 0 \pmod {11}.

Since 5, 7, and 11 are consecutive primes, one might think that there would be such a congruence for the next prime 13, p(13k+a)\equiv 0 \pmod {13} for some a. This is, however, false.

In the 1960s, A. O. L. Atkin of the University of Illinois at Chicago discovered additional congruences for small prime moduli. For example:

p(17303k+237)\equiv 0 \pmod {13}.

In 2000, Ken Ono of the University of Wisconsin–Madison proved that there are such congruences for every prime modulus. A few years later Ono, together with Scott Ahlgren of the University of Illinois, proved that there are partition congruences modulo every integer coprime to 6.[2]

Restricted partitions

Among the 22 partitions for the number 8, 6 contain only odd parts:

If we count the partitions of 8 with distinct parts, we also obtain the number 6:

It is true for all positive numbers that the number of partitions with odd parts always equals the number of partitions with distinct parts. This result was proved by Leonard Euler in 1748.[3]

Some similar results about restricted partitions can be obtained by the aid of a visual tool, a Ferrers graph (also called Ferrers diagram, since it is not a graph in the graph-theoretical sense, or sometimes Young diagram, alluding to the Young tableau).

Ferrers diagram

The partition 6 + 4 + 3 + 1 of the positive number 14 can be represented by the following diagram; these diagrams are named in honor of Norman Macleod Ferrers:

****
***
***
**
*
*
6+4+3+1

The 14 circles are lined up in 4 columns, each having the size of a part of the partition. The diagrams for the 5 partitions of the number 4 are listed below:

*
*
*
*
**
*
*
**
**
***
*
****
4 = 3+1 = 2+2 = 2+1+1 = 1+1+1+1

If we now flip the diagram of the partition 6 + 4 + 3 + 1 along its main diagonal, we obtain another partition of 14:

****
***
***
**
*
*
******
****
***
*
6+4+3+1 = 4+3+3+2+1+1

By turning the rows into columns, we obtain the partition 4 + 3 + 3 + 2 + 1 + 1 of the number 14. Such partitions are said to be conjugate of one another. In the case of the number 4, partitions 4 and 1 + 1 + 1 + 1 are conjugate pairs, and partitions 3 + 1 and 2 + 1 + 1 are conjugate of each other. Of particular interest is the partition 2 + 2, which has itself as conjugate. Such a partition is said to be self-conjugate.

Claim: The number of self-conjugate partitions is the same as the number of partitions with distinct odd parts.

Proof (sketch): The crucial observation is that every odd part can be "folded" in the middle to form a self-conjugate diagram:

*
*
*
*
*
***
*
*

One can then obtain a bijection between the set of partitions with distinct odd parts and the set of self-conjugate partitions, as illustrated by the following example:

o*x
o*x
o*x
o*
o*
o*
o*
o
o
ooooo
o****
o*xx
o*x
o*
9+7+3 = 5+5+4+3+2
dist. odd self-conjugate

Similar techniques can be employed to establish, for example, the following equalities:

See also

Notes

  1. http://primes.utm.edu/top20/page.php?id=54
  2. One, Ken; Ahlgren, Scott (2001). "Congruence properties for the partition function". Proceedings of the National Academy of Sciences 98 (23): 12882–12884. http://www.math.wisc.edu/~ono/reprints/061.pdf. 
  3. Andrews, George E. Number Theory. W. B. Saunders Company, Philadelphia, 1971. Dover edition, page 149–150.
  4. http://en.wikipedia.org/wiki/File:Integer_Partition_Table.png

References

An elementary introduction to the topic of integer partition, including a discussion of Ferrers graphs, can be found in the following reference:

Miklós Bóna, A Walk Through Combinatorics: An Introduction to Enumeration and Graph Theory, World Scientific Publishing, 2002. ISBN 981-02-4900-4.

Another highly accessible introduction is:

George Andrews and Kimmo Eriksson, Integer Partitions, Cambridge University Press, 2004. ISBN 0-521-60090-1.

External links